package org.example.design.策略;

/**
 * @Auther:Liu
 * @Testname:App
 * @Date:2025/8/15 15:20
 */
public class App {
    public static void main(String[] args) {
        TrainStrategy trainStrategy = new TrainStrategy();
        TravelContext travelContext = new TravelContext(trainStrategy);
        travelContext.Vehicle();
    }
}
